/*D6qijQE+tseVhRgdMUhc8EcdJ0y7KCHGpLLwYl1Pjt+FAmkQ/+lbqG/uBzJ0g8AL*/
/*
 * @Author: xiahui 
 * @PageInfo: 删除 
 * @Date: 2019-03-06 16:30:22 
 * @Last Modified by: xiahui
 * @Last Modified time: 2019-03-06 19:44:43
 */
import { AREA, UISTATUS } from '../../constance';
import { buttonControl } from '../viewControl/buttonControl';

export default function(props) {
	let checkedRows = props.editTable.getCheckedRows(AREA.listTableId);
	let checkIndex = checkedRows.map((row) => row.index);
	props.editTable.deleteTableRowsByIndex(AREA.listTableId, checkIndex);
	buttonControl.call(this, props, UISTATUS.edit);
}

/*D6qijQE+tseVhRgdMUhc8EcdJ0y7KCHGpLLwYl1Pjt+FAmkQ/+lbqG/uBzJ0g8AL*/